This program was written in VB6 in Win2K SP1 using
KPCIPIO-850A04 release of DriverLINX for KPCI-PIO Series
boards.

The purpose is to demonstate how to use a PB-24 or PB-24SM with
a KPCI-PIOxx board.

If using a KPCI-PIO96, the CAB-SSR cable for the PB-24 can plug directly
into the KPCI-PIO96.

Power must be connected to the PB-24 (or jumper it to use PC power).

This test program assumed all relays on the PB-24 were output
relays, but this need not be the case.

Important contrasts to operation with PIO-SSR-xx boards:

 a logic 1 at the bit will put the relay into an OFF state
 a logic 0 at the bit will put the relay into an ON state

Digital channel 0 (Port A) will control relays 16...23
Digital channel 1 (Port B) will control relays 0...7
Digital channel 2 (Port C) will control relays 8...15

The ports of the KPCI-PIO will be high impedence inputs at PC powerup
or reset.  The relays will be off when connected to these inputs.

As soon as the channels are configured for output, they will also be at
a default value of 0, so the relays will come ON.  Write a 1 to the bit to
turn the relay back off.  Your application must be able to tolerate this
momentary glitch from configuring the channel for output and setting the lines
to a logic 1 state.  Otherwise, use of the SSIO-24 with the SM-xxxx modules is
recommended when using a KPCI board with solid state relays to control external
equipment.